package com.headingdata.pkg;

import com.headingdata.newpkg.Car;

import java.util.Scanner;

public class Test {

    public static void main(String[] args) {

        Demo1 demo1 = new Demo1();
        demo1.print();

        Car car = new Car(546,"X3","BMW");
        car.printInfo();

        com.headingdata.newpkg.Demo1 demo11 = new com.headingdata.newpkg.Demo1();

        demo11.print();

        Scanner scanner = new Scanner(System.in);
        scanner.nextInt();

    }
}
